package com.example.service.impl;

import com.example.mapper.LogMapper;
import com.example.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {


    @Autowired
    private LogMapper logMapper;

    public void log(Integer userId,String info, Double money) {
        logMapper.log("id为"+userId+"的账户"+ info + money+ "元");
    }
}
